package com.multimedia.controller;


import com.multimedia.beans.MessageBean;
import com.multimedia.pojo.User;
import com.multimedia.service.UserServiceImp;
import com.multimedia.utils.MD5;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class UserController  extends BaseController  {
    public static Logger logger = Logger.getLogger(UserController.class);
    @Autowired
    private UserServiceImp userService;

    @RequestMapping("/main")
    public Object toMain(){
        return "main";
    }
    @RequestMapping("/aboutUs")
    public Object toAboutUs(){
        return "aboutUs";
    }
    @RequestMapping("/shop")
    public Object toShop(){
        return "shop";
    }
    @RequestMapping("/services")
    public Object toServices(){
        return "services";
    }
    @RequestMapping("/blog")
    public Object toBolg(){
        return "blog";
    }
    @RequestMapping("/servicesGrid")
    public Object toServicesGrid(){
        return "servicesGrid";
    }
    @RequestMapping("/obituariesGrid")
    public Object toObituariesGrid(){
        return "obituariesGrid";
    }
    @RequestMapping("/singleObituary")
    public Object toSingleObituary(){
        return "singleObituary";
    }





}
